package com.ccb.sc.common.modules.live.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ccb.sc.common.entity.BaseEntity;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;

/**
 * <p>
 * 直播商品赠品表
 * </p>
 *
 * @author ken
 * @since 2022-07-30
 */
@Getter
@Setter
@TableName("tb_live_streaming_goods_freebie")
public class LiveStreamingGoodsFreebie extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 直播商品id
     */
    @TableField("live_streaming_goods_id")
    private Long liveStreamingGoodsId;

    /**
     * 赠品名称
     */
    @TableField("freebie_goods_name")
    private String freebieGoodsName;

    /**
     * 赠品图
     */
    @TableField("freebie_goods_picture")
    private String freebieGoodsPicture;

    /**
     * 赠品描述
     */
    @TableField("freebie_goods_description")
    private String freebieGoodsDescription;

    /**
     * 优惠条件
     */
    @TableField("preferential_condition")
    private String preferentialCondition;

    /**
     * 优惠描述
     */
    @TableField("preferential_description")
    private String preferentialDescription;

    /**
     * 优惠价格
     */
    @TableField("preferential_price")
    private BigDecimal preferentialPrice;

    /**
     * 优惠规格
     */
    @TableField("preferential_spec")
    private String preferentialSpec;

    /**
     * 到手价格
     */
    @TableField("received_price")
    private BigDecimal receivedPrice;

    /**
     * 是否删除
     */
    @TableField("deleted")
    private Boolean deleted;

}
